package gui;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * @Description:
 * @Author 左龙龙
 * @Date 21-7-5
 * @Version 1.0
 **/
public class Calc {
    private JTextField textField1;
    private JButton a1Button;
    private JButton a2Button;
    private JButton a2Button1;
    private JButton a4Button;
    private JButton a5Button;
    private JButton a6Button;
    private JButton a7Button;
    private JButton a8Button;
    private JButton a9Button;
    private JButton a0Button;
    private JButton button11;
    private JButton button1;
    private JButton button2;
    private JButton cButton;
    private JButton button3;

    public Calc() {
        button3.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                System.out.println("+");
            }
        });
        button11.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                System.out.println("=");
            }
        });
    }
}
